let homePage = {
  namespaced: true,
  state: {
    avatarMenuList: [
      {
        id: 1,
        name: "账号设置",
        nameEn: "accountSetting",
        icon: "system-setting",
      },
      {
        id: 2,
        name: "退出登录",
        nameEn: "logOut",
        icon: "log-out",
      },
    ],
    mainMenuList: [
      {
        id: 1,
        name: "智能训练与验证",
        nameEn: "mySpce",
        icon: "my-space",
      },
      {
        id: 2,
        name: "Tool Hub",
        nameEn: "toolHub",
        icon: "tool-hub",
      },
    ],
    mySpaceList: [
      {
        id: 1,
        name: "智能样本数据引接与管理",
        nameEn: "model-manage-tool",
        icon: "model-manage-tool",
      },
      {
        id: 2,
        name: "智能样本数据预处理",
        nameEn: "experiment-design-tool",
        icon: "experiment-design-tool",
      },
      {
        id: 3,
        name: "智能模型学习训练",
        nameEn: "scenario-edit-tool",
        icon: "scenario-edit-tool",
      },
      {
        id: 4,
        name: "智能模型算法集成与管理",
        nameEn: "evaluation-analysis-tool",
        icon: "intelligent-training-tool",
      },
      {
        id: 5,
        name: "数据挖掘",
        nameEn: "simulation-run-tool",
        icon: "simulation-run-tool",
      },
      {
        id: 6,
        name: "数据分析",
        nameEn: "intelligent-training-tool",
        icon: "evaluation-analysis-tool",
      },
      // {
      //   id: 1,
      //   name: "模型管理工具",
      //   nameEn: "model-manage-tool",
      //   icon: "model-manage-tool",
      // },
      // {
      //   id: 2,
      //   name: "想定编辑工具",
      //   nameEn: "scenario-edit-tool",
      //   icon: "scenario-edit-tool",
      // },
      // {
      //   id: 3,
      //   name: "试验设计工具",
      //   nameEn: "experiment-design-tool",
      //   icon: "experiment-design-tool",
      // },
      // {
      //   id: 4,
      //   name: "评估分析工具",
      //   nameEn: "evaluation-analysis-tool",
      //   icon: "evaluation-analysis-tool",
      // },
      // {
      //   id: 5,
      //   name: "数据挖掘",
      //   nameEn: "simulation-run-tool",
      //   icon: "simulation-run-tool",
      // },
      // {
      //   id: 6,
      //   name: "数据分析",
      //   nameEn: "intelligent-training-tool",
      //   icon: "intelligent-training-tool",
      // },
    ],
    toolHubList: [
      {
        id: 1,
        name: "全部分类",
        nameEn: "allClassification",
        libraryList: [
        ],
      },
      {
        id: 2,
        name: "镜像仓库",
        nameEn: "mirrorRepository",
        libraryList: [
          {
            id: 12,
            name: "Harbor",
            content: "Harbor 是一个开源的镜像仓库系统‌，专为云原生环境设计，用于安全存储和管理容器镜像(如 Docker 镜像)、Helm Chart 等制品(Artifacts)。",
            icon: "harbor.png",
            url: "http://192.168.1.16",
          },
        ],
      },
      {
        id: 3,
        name: "云管平台",
        nameEn: "cloudManagementPlatform",
        libraryList: [
          {
            id: 11,
            name: "Kubesphere",
            content: "KubeSphere 是在 Kubernetes 之上构建的以应用为中心的多租户容器平台，提供全栈的 IT 自动化运维的能力，简化企业的 DevOps 工作流。KubeSphere 提供了运维友好的向导式操作界面，帮助企业快速构建一个强大和功能丰富的容器云平台",
            icon: "kubesphere.png",
            url: "http://192.168.1.16:30880",
          },
        ],
      },
      {
        id: 4,
        name: "消息中间件",
        nameEn: "messageMiddleware",
        libraryList: [
          {
            id: 13,
            name: "emqx",
            content: "EMQX是一款完全开源‌，高度可伸缩‌，高可用的分布式 MQTT 消息服务器，同时也支持 CoAP/LwM2M 一站式 IoT 协议接入。EMQ 是 5G 时代万物互联的消息引擎，适用于 IoT、M2M 和移动应用程序，可处理千万级别的并发客户端。",
            icon: "emqx.png",
            url: "http://192.168.1.16:18083",
          },
        ],
      }
    ],
    toolInfo: {}, // 当前选中的工具模块信息
    currentMenu: {}, // 当前选中的工具模块中的菜单项信息
    previousPath: "", // 上一个路径
  },
  mutations: {
    SET_TOOL_INFO(state, info) {
      state.toolInfo = info;
    },
    SET_CURRENT_MENU(state, info) {
      state.currentMenu = info;
    },
    SET_PREVIOUS_PATH(state, path) {
      state.previousPath = path;
    },
  },
  actions: {},
};
export default homePage;
